const columns = [
  {
    title: "序号",
    dataIndex: "index",
    key: "index",
    customRender: (text, record, index) => `${index + 1}`,
    align: "center",
    width: 80,
  },
  {
    title: "部门名称",
    dataIndex: "departmentName",
    key: "departmentName",
    align: "center",
  },
  {
    title: "地址",
    dataIndex: "address",
    align: "center",
    key: "address",
  },
  {
    title: "电话",
    key: "telephone",
    align: "center",
    dataIndex: "telephone",
  },
  {
    title: "部门编号",
    key: "departmentNumber",
    align: "center",
    dataIndex: "departmentNumber",
  },
  {
    title: "创建时间",
    key: "createTime",
    align: "center",
    dataIndex: "createTime",
  },
  {
    width:150,
    title: "操作",
    dataIndex: "action",
    align: "center",
    scopedSlots: { customRender: "action" },
  },
];

export { columns };
